package ru.nsu.fit.iconveyor.conveyor.node;

/**
 * Output node of instructionconveyor. Has only input connections.
 */
public abstract class OutputNode extends Node {
    public OutputNode(String id) {
        super(id);
    }

    @Override
    public boolean isParallelExecute() {
        return false;
    }

    @Override
    public <T> NodeConnection<T> getInputNodeConnectionByName(String name) {
        return super.getInputNodeConnectionByName(name);
    }

    @Override
    public final int getOutputToInputRatio() {
        return 1;
    }
}
